export class LayerUtil {


    static drawerFooter = (okBtn, cancelBtn) => {
        return (<a-space>
            <a-button disabled={cancelBtn.disabled} onClick={() => cancelBtn.click()} >取消</a-button>
            <a-button type="primary" onClick={() => okBtn.click()} loading={okBtn.loading} disabled={okBtn.disabled}>{okBtn.text} </a-button>
        </a-space>)

    }


}